package com.example.coroutines

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path

interface GitHubServiceApi {
    @GET("users/{login}")
    fun getUser(@Path("login") login: String): Call<User>
}

data class User(val id: String, val name: String, val url: String)